package com.lvmama.core.dao;

import com.lvmama.core.bean.TravelDetail;
import com.lvmama.core.bean.TravelDetailQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TravelDetailDao {
    int countByExample(TravelDetailQuery example);

    int deleteByExample(TravelDetailQuery example);

    int deleteByPrimaryKey(Integer travelDetailId);

    int insert(TravelDetail record);

    int insertSelective(TravelDetail record);

    List<TravelDetail> selectByExampleWithBLOBs(TravelDetailQuery example);

    List<TravelDetail> selectByExample(TravelDetailQuery example);

    TravelDetail selectByPrimaryKey(Integer travelDetailId);

    int updateByExampleSelective(@Param("record") TravelDetail record, @Param("example") TravelDetailQuery example);

    int updateByExampleWithBLOBs(@Param("record") TravelDetail record, @Param("example") TravelDetailQuery example);

    int updateByExample(@Param("record") TravelDetail record, @Param("example") TravelDetailQuery example);

    int updateByPrimaryKeySelective(TravelDetail record);

    int updateByPrimaryKeyWithBLOBs(TravelDetail record);

    int updateByPrimaryKey(TravelDetail record);
}